package com.chenju.dynamicagent.controller;

import com.chenju.dynamicagent.annotation.EnableDynamicAgent;
import com.chenju.dynamicagent.test.MyTestClass;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/")
public class TestController {

    @GetMapping("test")
    public void test(){
        System.out.println("执行controller");
        MyTestClass myTestClass = new MyTestClass();
        myTestClass.step1();
        myTestClass.step2();
    }
}
